home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Saar AMOK 2
/
Saar AMOK II - Oktober 1994 (1994)(Kreativ Marketing)(DE)[!][I-7598].iso
/
tools
/
amigaguide
/
ag_v39
/
source
/
hyperbrowser
/
bitmap.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-08
|
798b
|
33 lines
/* bitmap.c
*
* (c) Copyright 1992 Commodore-Amiga, Inc. All rights reserved.
*
* This software is provided as-is and is subject to change; no warranties
* are made. All use is at your own risk. No liability or responsibility
* is assumed.
*
*/
#include "hyperbrowser.h"
/*****************************************************************************/
STRPTR DumpBitMapFlags (struct GlobalData *gd, struct Screen *scr)
{
UBYTE buffer[256];
ULONG value;
memset (buffer, 0, sizeof (buffer));
value = GetBitMapAttr (scr->RastPort.BitMap, BMA_FLAGS);
if (value & BMF_DISPLAYABLE)
strcat (buffer, "displayable ");
if (value & BMF_INTERLEAVED)
strcat (buffer, "interleaved ");
if (value & BMF_STANDARD)
strcat (buffer, "standard ");
return (buffer);
}